<?php
$this->lang->load('admin_ad', $this->session->admin_language);
$this->load->view('admin/layout/head', array('title'=> 'email设置'), FALSE);
?>

<div id="container">
<ul class="nav nav-tabs" id="subject-tab">
	<li class="active"><a href="javascript:;">email设置</a></li>
</ul>
<form method="post" class="form-inline deal-from container-fluid no-padding" id="ad-form">
	<div class="mt-20">
		<label for="">字符集(默认utf-8)</label>
		<div class="form-group">
			<input type="text" name="charset" value="<?= $configs['charset']['value'] ?>"  style="width: 600px" class="form-control">
		</div>
	</div>
    <div class="mt-20">
		<label for="">端口</label>
		<div class="form-group">
			<input type="text" name="port" value="<?= $configs['port']['value'] ?>"  style="width: 600px" class="form-control">
		</div>
	</div>
    <div class="mt-20">
		<label for="">smtp网址</label>
		<div class="form-group">
			<input type="text" name="host" value="<?= $configs['host']['value'] ?>"  style="width: 600px" class="form-control">
		</div>
	</div>
	<div class="mt-20">
		<label for="">用户名(邮箱)</label>
		<div class="form-group">
			<input type="text" name="username" value="<?= $configs['username']['value'] ?>" style="width: 600px"  style="width: 600px" class="form-control">
		</div>
	</div>
    <div class="mt-20">
		<label for="">密码</label>
		<div class="form-group">
			<input type="password" name="password" value="<?= $configs['password']['value'] ?>" style="width: 600px" class="form-control">
		</div>
	</div>

	<div style="padding-left:110px" class="mt-20">
		<button class="btn btn-primary">保存</button>
      	<a href="/admin/sys" class="btn btn-default cancel"><?php echo $this->lang->line('cancel') ?></a>
    </div>


</form>
</div>


<?php
$this->load->view('admin/layout/footer');
?>
